//
//  UIButton+Extension.swift
//  myBlog
//
//  Created by mac2014 on 16/3/28.
//  Copyright © 2016年 AD. All rights reserved.
//

import UIKit

extension UIButton {
    
//    convenience init(title: String, imageName: String, bgImage: String, textColor: UIColor = UIColor.darkGrayColor(), textFont: CGFloat = 14) {
//        self.init()
//        self.setTitle(title, forState: UIControlState.Normal)
//        
//        self.setImage(UIImage(named: imageName), forState: UIControlState.Normal)
//        
//        self.setImage(UIImage(named: "\(imageName)_highlighted"), forState: UIControlState.Highlighted)
//            
//            
//        self.setBackgroundImage(UIImage(named: bgImage), forState: UIControlState.Normal)
//        self.setBackgroundImage(UIImage(named: "\(bgImage)_highlighted"), forState: UIControlState.Highlighted)
//            
//        self.titleLabel?.font = UIFont.systemFontOfSize(textFont)
//    }
//    


    
    
    
    
    
}
